import request from '@/utils/requset'
export default{
    // 头部和内容简介
    reqHearder(id:any){
        return request.get<any,any>(`/m-revision/page/album/v2/queryAlbumPage/${id}`) 
    },
    // 请求节目列表
    reqAlbumList(AlbumId:any,page:number,pageSize:number){
        return request.get<any,any>(`/m-revision/common/album/queryAlbumTrackRecordsByPage?albumId=${AlbumId}&page=${page}&pageSize=${pageSize}&asc=true&countKeys=play%2Ccomment&v=1692018651710`)
    },
    // 请求主播信息()
    reqUserinfo(anchorId:any){
        return request.get<any,any>(`/m-revision/common/user/queryUserInfo/${anchorId}?userCountKeys=follower`)
    },
    //请求主播作品
    reqUserWorks(anchorId:any){
        return request.get<any,any>(`https://m.ximalaya.com/m-revision/common/anchor/queryAnchorAlbumsByPage?anchorId=${anchorId}&page=1&pageSize=3&asc=false`)
   },
    // 请求评论信息
    reqReviewInfo(albumId:any){
        return request.get<any,any>(`/m-revision/common/album/queryAlbumCommentsByPage?page=1&pageSize=10&albumId=${albumId}&v=1692064693595`)
    },
    // 请求相似专辑
    reqSeemAlbum(page:number){
        return request.get<any,any>(`/revision/search/seo?kw='郭德纲21年相声精选'&page=${page}&rows=6&device=iphone&condition=relation&spellchecker=true&core=album`)
    },
    // 请求猜你喜欢
    reqLike(pageNum:number,pageSize:number,sort:number){
        return request.get<any,any>(`/revision/category/v2/albums?pageNum=1&pageSize=5&sort=1`)

    }

}